package com.talent.service.iot.mqtt.model.request;

import com.talent.service.iot.mqtt.model.fix.TlMqttFixedHead;
import com.talent.service.iot.mqtt.model.payload.TlMqttUnSubscribePayload;
import com.talent.service.iot.mqtt.model.variable.TlMqttUnSubscribeVariableHead;

/**
 * @ClassName：TlMqttConnectReq
 * @Author: hszhou
 * @Date: 2024/11/25 11:07
 * @Description: 接收到订阅请求
 */
public class TlMqttUnSubscribeReq  {
    private TlMqttFixedHead fixedHead;
    /**可变头*/
    private TlMqttUnSubscribeVariableHead variableHead;

    private TlMqttUnSubscribePayload payload;

    public TlMqttUnSubscribeReq(TlMqttFixedHead fixedHead, TlMqttUnSubscribeVariableHead variableHead, TlMqttUnSubscribePayload payload) {
        this.fixedHead = fixedHead;
        this.variableHead = variableHead;
        this.payload = payload;
    }

    public TlMqttFixedHead getFixedHead() {
        return fixedHead;
    }

    public void setFixedHead(TlMqttFixedHead fixedHead) {
        this.fixedHead = fixedHead;
    }

    public TlMqttUnSubscribeVariableHead getVariableHead() {
        return variableHead;
    }

    public void setVariableHead(TlMqttUnSubscribeVariableHead variableHead) {
        this.variableHead = variableHead;
    }

    public TlMqttUnSubscribePayload getPayload() {
        return payload;
    }

    public void setPayload(TlMqttUnSubscribePayload payload) {
        this.payload = payload;
    }
}
